home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / New System Software Extensions / Macintosh Easy Open 1.1.1 / Documentation / Developer / PowerPC / LowerToUpperCaseScrap.make < prev    next >
Encoding:
Text File  |  1994-12-12  |  2.3 KB  |  91 lines  |  [TEXT/MPS ]

  1. #
  2. #   LowerToUpperCaseScrap.make
  3. #
  4. #    MPW makefile for LowerToUpperCaseScrap translation extension
  5. #
  6. #    Copyright © 1994, Apple Computer, Inc.  All rights reserved.
  7. #
  8. AppName  = LowerToUpperCaseScrap
  9. Creator = 'M&Ms'
  10. Type    = 'thng'
  11.  
  12. SymOpt = on   # Set to "on" to build a debuggable version.
  13.  
  14. Source_Folder = :
  15.  
  16. Objects = :Objects:
  17.  
  18. {Objects} ƒ {Source_Folder}
  19.  
  20. Sources = LowerToUpperCaseScrap.c
  21.           
  22. Resources = {AppName}.r ∂
  23.             {AppName}.r1
  24.  
  25. PPC_Objects =     {Objects}{AppName}.c.ppc.o
  26.                 
  27. 68K_Objects =     {Objects}{AppName}.c.68k.o
  28.                 
  29. PPCC_Options =     -w conformance -appleext on -sym {SymOpt}
  30.  
  31. C_Options = -i "{PPCCIncludes}" -sym {SymOpt}  # Use universal headers for 68K build.
  32.  
  33. R_Options = -i "{CIncludes}"
  34.  
  35. PPC_Libraries =    "{PPCLibraries}"InterfaceLib.xcoff    ∂
  36.                 "{PPCLibraries}"StdCLib.xcoff        ∂
  37.                 "{PPCLibraries}"StdCRuntime.o        ∂
  38.                 "{PPCLibraries}"PPCCRuntime.o        ∂
  39.                 "{PPCLibraries}"Translation
  40.                 
  41. 68K_Libraries = "{Libraries}"Runtime.o
  42.  
  43. PPC_LibEquates =     -l InterfaceLib.xcoff=InterfaceLib ∂
  44.                     -l StdCLib.xcoff=StdCLib ∂
  45.                     -l MathLib.xcoff=MathLib
  46.                                         
  47. Makefile =        {AppName}.make
  48.  
  49. C =                C
  50.  
  51. PEF_Options = -b -x
  52.  
  53. PPCC = PPCC
  54.  
  55. {AppName} ƒ {Objects}{AppName}.pef {Objects}{AppName}.68K
  56.     Rez {AppName}.r -a -i {Objects} -o {AppName} {R_Options}
  57.     SetFile {AppName} -a Bi -t thng -c M&Ms 
  58.     
  59. {Objects}{AppName}.pef ƒƒ {Objects}{AppName}.xcoff {Resources}
  60.     makepef  {PEF_Options}                         ∂
  61.              {Objects}{AppName}.xcoff             ∂
  62.              {PPC_LibEquates}                     ∂
  63.              -o {Targ}                    
  64.     Rez {AppName}.r1 -a -o {Targ}
  65.             
  66. {Objects}{AppName}.xcoff ƒƒ {PPC_Objects}
  67.         PPCLink    "{PPCLibraries}"TranslationExtInterface.xcoff    ∂
  68.         {PPC_Objects}                                            ∂
  69.         {PPC_Libraries}                                             ∂
  70.         -sym {SymOpt}                                             ∂
  71.         -main TranslateEntry                                     ∂
  72.         -o {Targ}
  73.  
  74. {Objects}{AppName}.68K ƒƒ {68K_Objects} {Resources}
  75.     Link -d -t rsrc -c RSED                         ∂
  76.         "{Libraries}"TranslateExtensionInterface.o    ∂
  77.         {68K_Objects}                                 ∂
  78.         {68K_Libraries}                                ∂
  79.         # -sym {SymOpt}                                ∂
  80.         -m TRANSLATEENTRY                             ∂
  81.         -rn -sg MergeSegments -t rsrc -c RSED        ∂
  82.         -rt xlat=128                                ∂
  83.         -o {Targ}
  84.  
  85. .c.ppc.o    ƒ    .c {Makefile}        # Whenever the Makefile changes, all .o's get built.
  86.     {PPCC} {PPCC_Options} {default}.c -o {Targ}
  87.     
  88. .c.68k.o    ƒ    .c {Makefile}        # Whenever the Makefile changes, all .o's get built.
  89.     {C} {C_Options} {default}.c -o {Targ}
  90.  
  91.